<?php
namespace app\modules\api\controllers;

use yii;
use app\modules\api\service\IncomeService;

class IncomeController extends BaseController
{
    public $enableCsrfValidation = false;

    public function actionIncome_type()
    {
        $service = new IncomeService();
        $list = $service->get_type();
        return json_encode($list);
    }
}

